package com.leoman.spinningmachine.tab1;

import android.os.Bundle;
import android.webkit.WebView;

import com.leoman.spinningmachine.R;
import com.leoman.spinningmachine.base.BaseActivity;


import butterknife.BindView;

import static com.leoman.spinningmachine.constant.Urls.BASE_URL;

/**
 * 摄像头
 * Created by 12453 on 2019/1/14.
 */

public class NoFunDetailsActivity extends BaseActivity {

    @BindView(R.id.wb_details)
    WebView wbDetails;

    @Override
    protected int getContentViewLayoutID() {
        return R.layout.web_nofun;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        String title = getIntent().getStringExtra("title");
        initTitle(title);
    }

    @Override
    protected void initData() {
        String url = getIntent().getStringExtra("url");
        wbDetails.loadUrl(BASE_URL + "user/camera/"+url);
    }

}
